package com.fizzkai;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.WebApplicationInitializer;

/**
 * @ClassName SpringbootApplication
 * @Description TODO
 * @Author weijh3
 * @Date 2018/9/29 下午5:10
 * @Version 1.0
 **/
@SpringBootApplication
@EnableScheduling
public class SpringbootApplication extends SpringBootServletInitializer
        implements WebApplicationInitializer {
//    @Override
//    protected SpringApplicationBuilder configure(SpringApplicationBuilder application){
//
//        return application.sources(SpringbootApplication.class);
//    }

    public static void main(String[] args) {
        SpringApplication.run(SpringbootApplication.class, args);
    }
}
